package com.fy56.platform.logistics.redis.dbutil;

/**
 * Created by li on 2018-02-06 11:06
 */
public class TokenConstants {

    public static final String TOKEN_PREFIX = "token_%s";

    public static final Integer EXPIRE = 60;

    /**
     * 存储当前登录用户id的字段名
     */
    public static final String CURRENT_USER_ID = "CURRENT_USER_ID";

    /**
     * token有效期（秒）
     */
    public static final int TOKEN_EXPIRES_SECONDS = 1*60*60;

    /**
     * 存放Authorization的header字段
     */
    public static final String AUTHORIZATION = "authorization";
}
